package com.hu.zhcc.shiro.controller.xsx;


import com.hu.zhcc.shiro.entity.xsx.XsxTClinicDepartment;
import com.hu.zhcc.shiro.service.xsx.TClinicDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 就诊科室 前端控制器
 * </p>
 *
 * @author xsx
 * @since 2021-06-17
 */
@RestController
@RequestMapping("/tClinicDepartment")
public class TClinicDepartmentController {

    @Autowired
    TClinicDepartmentService tClinicDepartmentService;

    @GetMapping("/all")
    private List<XsxTClinicDepartment> queryAll(){
        return tClinicDepartmentService.queryAllClinic();
    }

}

